package com.material.factory.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.material.common.annotation.Excel;
import com.material.common.core.domain.BaseEntity;

/**
 * 工厂收货计划对象 factory_receiving_plan
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class FactoryReceivingPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 工厂id */
    @Excel(name = "工厂id")
    private Long factoryId;

    /** 收货燃料品名id */
    @Excel(name = "收货燃料品名id")
    private Long fuelId;

    /** 计划收货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划收货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receivingDate;

    private Double quantity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryId(Long factoryId) 
    {
        this.factoryId = factoryId;
    }

    public Long getFactoryId() 
    {
        return factoryId;
    }
    public void setFuelId(Long fuelId) 
    {
        this.fuelId = fuelId;
    }

    public Long getFuelId() 
    {
        return fuelId;
    }
    public void setReceivingDate(Date receivingDate) 
    {
        this.receivingDate = receivingDate;
    }

    public Date getReceivingDate() 
    {
        return receivingDate;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryId", getFactoryId())
            .append("fuelId", getFuelId())
            .append("receivingDate", getReceivingDate())
            .append("createTime", getCreateTime())
            .toString();
    }
}
